package com.hrsoft.modules.expert.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hrsoft.common.utils.PageUtils;
import com.hrsoft.common.utils.Query;

import com.hrsoft.modules.expert.dao.ExpertGroupSegmentDao;
import com.hrsoft.modules.expert.entity.ExpertGroupSegmentEntity;
import com.hrsoft.modules.expert.service.ExpertGroupSegmentService;


@Service("expertGroupSegmentService")
public class ExpertGroupSegmentServiceImpl extends ServiceImpl<ExpertGroupSegmentDao, ExpertGroupSegmentEntity> implements ExpertGroupSegmentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ExpertGroupSegmentEntity> page = this.page(
                new Query<ExpertGroupSegmentEntity>().getPage(params),
                new QueryWrapper<ExpertGroupSegmentEntity>()
        );

        return new PageUtils(page);
    }

}